package com.ruoyi.system.third.service;

import com.ruoyi.system.third.dto.PaymentDTO;
import com.ruoyi.system.third.dto.RefundDTO;

/**
 * @Description TODO
 * @Classname ILiantuofuService
 * @Date 2025-1-4 14:41
 * @Author 12601786
 */
public interface ILiantuofuService {

//    String transfer(JSONObject object, HttpServletRequest request);
//
//    boolean syncMerchantList(SyncMerchantDTO syncMerchantDTO, HttpServletRequest request);

//    /**
//     * 支付
//     * @param paymentDTO
//     * @return
//     */
//    String apiPayment(PaymentDTO paymentDTO);

    /**
     * 付款
     * @param paymentDTO
     * @return
     */
    String unifiedOrder(PaymentDTO paymentDTO);

    /**
     * 退款
     * @param refundDTO
     * @return
     */
    String refundOrder(RefundDTO refundDTO);
}
